﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;

namespace com.ytocargo.Core.FlightInfo4Monitors
{
    public interface IFlightInfo4MonitorStore
    {
        Task InsertAsync(FlightInfo4Monitor flightInfo4Monitor);

        Task<FlightInfo4Monitor> FirstOrDefaultAsync(Expression<Func<FlightInfo4Monitor,bool>> expression);

        IQueryable<FlightInfo4Monitor> GetAll();

        Task UpdateAsync(FlightInfo4Monitor flightInfo4Monitor);

        void Detach(FlightInfo4Monitor flightInfo4Monitor);

    }
}
